import Vue from "vue";
import App from "./App.vue";
import "./plugins/element.js";
//CSS 初始化
import "./assets/css/reset.css";
// 引入路由
import router from "./router";
//引入图标
import "./assets/iconfont/iconfont.css";
// 引入全局事件总线
import eventBus from "./untils/eventBus";
// 引入echarts
import echarts from "./plugins/echarts";
// 引入store仓库
import store from "./store";

Vue.config.productionTip = false;
new Vue({
  render: (h) => h(App),
  router,
  store,
  beforeCreate() {
    Vue.prototype.$eventBus = eventBus;
    Vue.prototype.$echarts = echarts;
  },
}).$mount("#app");
